<?php

namespace App\Models\Plane\Cities\Repositories\Interfaces;

use App\Models\Plane\Cities\PlaneCity;

interface PlaneCityRepositoryInterface
{
    public function addCity(array $data): PlaneCity;

    public function findOneByCode(string $city_code): ?PlaneCity;

    public function findOneByAdCode(string $adcode): ?PlaneCity;

    public function findOneByName(string $city_name): ?PlaneCity;

    public function delByCode(string $city_code): bool;
}